package exceptionsmy;

//: exceptions/MainException.java
import java.io.FileInputStream;

import com.wxg.thinkinginjava.file.FileUtils;

public class MainException {
	// Pass all exceptions to the console:
	public static void main(String[] args) throws Exception {
		// Open the file:
		//FileInputStream file = new FileInputStream("MainException.java");
		String path = FileUtils.getJavaFilePath(exceptions.MainException.class);
		FileInputStream file = new FileInputStream( path + "MainException.java");
		// Use the file ...
		// Close the file:
		file.close();
	}
} /// :~
